package com.zbkj.common.response;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * ai试穿商品响应对象
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "AiProductResponse对象", description = "ai试穿商品响应对象")
public class AiProductResponse {

    @ApiModelProperty(value = "商品id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品图片")
    private String image;

    @ApiModelProperty(value = "ai换衣图")
    private String aiClothesUrl;

    @ApiModelProperty(value = "ai换衣图的类型")
    private String aiClothesType;

    @ApiModelProperty(value = "ai换衣图的类型(upper_body上衣    lower_body下衣    dresses裙子)")
    private String aiClothesTypeLevelOne;

    @ApiModelProperty(value = "初始化ai试穿男生换衣图")
    private String aiManInitClothesUrl;

    @ApiModelProperty(value = "初始化ai试穿女生换衣图")
    private String aiWomanInitClothesUrl;

    @ApiModelProperty(value = "展示图")
    private String flatPattern;

    @ApiModelProperty(value = "轮播图")
    private String sliderImage;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "库存")
    private Integer stock;

    @ApiModelProperty(value = "主图视频链接")
    private String videoLink;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "总后台排序")
    private Integer rank;

    @ApiModelProperty(value = "规格 0单 1多")
    private Boolean specType;

    @ApiModelProperty(value = "规格列表")
    private List<AiProductAttrValueResponse> aiProductAttrValueResponseList;
}
